package com.youlai.system.service;

import com.youlai.system.common.result.PageResult;
import com.youlai.system.model.dto.CarouselEditDTO;
import com.youlai.system.model.dto.CarouselInsertDTO;
import com.youlai.system.model.dto.CarouselSelectDTO;
import com.youlai.system.model.entity.Carousel;
import com.youlai.system.model.vo.CarouselVO;

import java.util.List;


public interface CarouselService {
    boolean addCarousel(CarouselInsertDTO carouselInsertDTO);

    boolean editCarousel(CarouselEditDTO carouselEditDTO);

    boolean deleteCarousel(Integer[] ids);

    List<Carousel> listCarousels();

    PageResult<CarouselVO> getPage(CarouselSelectDTO carouselSelectDTO);


    CarouselVO getCarouselById(Integer id);

}


